﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Account.Master" AutoEventWireup="true" CodeBehind="mybookclubs.aspx.cs" Inherits="BookClubIt.account_mybookclubs" %>
  <%@ Register TagPrefix="uc" TagName="accountnav" Src="~/UserControls/accountmenu.ascx" %>
  <asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="row">
<div class="left-nav">
<uc:accountnav id="accountnav"  runat="server" />
</div>
<div class="content-full">
<h1><small>My Book Clubs</small></h1>
<asp:GridView ID="grdBrowseClubs"
 OnRowDataBound="grdBrowseClubs_OnRowDataBound"
  runat="server"
   AutoGenerateColumns="false"
    AlternatingRowStyle-CssClass="alt"
     CssClass="table browse-clubs"
     BorderWidth="0"
     GridLines="None"
      AllowPaging="True">
<Columns>
 <asp:TemplateField ItemStyle-CssClass="avatar-row">
           <HeaderTemplate>
            
           </HeaderTemplate>
           <ItemTemplate>
          
           <asp:Image ID="imgClubAvatar" runat="server" Height="50px" Width="50px" />
           </ItemTemplate>
      </asp:TemplateField>

    <asp:TemplateField HeaderStyle-CssClass="main-link" ItemStyle-CssClass="main-link">
           <HeaderTemplate >
              Name
           </HeaderTemplate>
           <ItemTemplate>
           <asp:HyperLink ID="lnkBookClub" runat="server" />
           
           </ItemTemplate>
      </asp:TemplateField>

          <asp:TemplateField>
           <HeaderTemplate>
                Type
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblClubType"/>
           </ItemTemplate>
      </asp:TemplateField>
       <asp:TemplateField>
           <HeaderTemplate>
                Genre
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblGenreType"/>
           </ItemTemplate>
      </asp:TemplateField>
        <asp:TemplateField>
           <HeaderTemplate>
                Members
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblNumMembers"/>
           </ItemTemplate>
      </asp:TemplateField>

        <asp:TemplateField>
           <HeaderTemplate>
                Reading
           </HeaderTemplate>
           <ItemTemplate>
               
                <asp:Image ID="imgCurrentBook" runat="server" Height="50px" Width="35px" />
           </ItemTemplate>
      </asp:TemplateField>

         <asp:TemplateField>
           <HeaderTemplate>
                Created
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblCreatedDate"/>
           </ItemTemplate>
      </asp:TemplateField>

       <asp:TemplateField ItemStyle-CssClass="buttons">
           <ItemTemplate>
             <asp:HyperLink ID="lnkViewClub" runat="server" CssClass="btn btn-small btn-info" Text="View" />
           </ItemTemplate>
      </asp:TemplateField>
</Columns>
<PagerStyle CssClass="pagination" />
</asp:GridView>

</div>
</div>
</asp:Content>